package BridgePattern;

public class BridgePatternTest {
    public static void main(String[] args) {
        CleanRoad cleanRoad = new CleanRoad(new Car());
        DirtyRoad dirtyRoad = new DirtyRoad(new Bus());
        cleanRoad.driveOnRoad();
        dirtyRoad.driveOnRoad();
    }
}
